// 统一管理各平台账户信息
// 每个平台下可配置多个账户，支持 cloudCookieOptions 或其它登录参数

export const accountsConfig = {
  tmall: [
    {
      key: 'fdt',
      name: '范朵町',
      storageState: 'src/config/credentials/tmall.json',
      useCloudCookie: true,
      cloudCookieOptions: {
        host: 'http://121.40.52.23:8088',
        uuid: 'tqFTHSGH9xRydzdjtCzxMU',
        password: '1LafMXdTQWoUuWVKoUe6fX'
      },
      enabled: true
    },
    // 可继续添加更多天猫账号，key: 'tmall_2' ...
  ],
  taobao: [
    {
      key: 'dm',
      name: '町木',
      storageState: 'src/config/credentials/taobao.json',
      useCloudCookie: false,
      cloudCookieOptions: {},
      enabled: true
    },
    // ...
  ],
  pinduoduo: [
    {
      key: 'fdt',
      name: '范朵町',
      storageState: 'src/config/credentials/pinduoduo.json',
      useCloudCookie: true,
      cloudCookieOptions: {
        host: 'http://121.40.52.23:8088',
        uuid: 'tqFTHSGH9xRydzdjtCzxMU',
        password: '1LafMXdTQWoUuWVKoUe6fX'
      },
      enabled: true
    }
  ],
  douyin: [
    {
      key: 'sy',
      name: '三又',
      storageState: 'src/config/credentials/douyin.json',
      useCloudCookie: true,
      cloudCookieOptions: {
        host: 'http://121.40.52.23:8088',
        uuid: 'tqFTHSGH9xRydzdjtCzxMU',
        password: '1LafMXdTQWoUuWVKoUe6fX'
      },
      enabled: true
    }
  ],
  weixin: [
    {
      key: 'fdt',
      name: '范朵町',
      storageState: 'src/config/credentials/weixin.json',
      useCloudCookie: true,
      cloudCookieOptions: {
        host: 'http://121.40.52.23:8088',
        uuid: 'tqFTHSGH9xRydzdjtCzxMU',
        password: '1LafMXdTQWoUuWVKoUe6fX'
      },
      enabled: true
    }
  ]
};
